package com.xinzhidi.web.equipment.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;


/**
 * 存档恢复对象
 *
 * @author cx
 * @date 2023-06-25
 */
@ApiModel(value = "存档恢复对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class recoverDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "存档类型 0小区 1楼栋 2单元 3住户")
    private String type;

    @ApiModelProperty(value = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "住户id")
    private Long householderId;

    @ApiModelProperty(value = "阀门开度")
    private BigDecimal valveOpen;

    @ApiModelProperty(value = "存档主键id")
    private Long archivesId;

    @ApiModelProperty(value = "存档时间")
    private String createTime;
}
